<template>
  <div class="flex-col page">
    <div class="flex-col section">
      <div class="flex-col justify-center self-stretch group">
        <div class="flex-row">
          <div class="flex-row flex-1 justify-start">
            <img class="image_2" @click="goback" src="https://shops.cg500.com/static/aijiu/long-arrow-left-black.png" />
          </div>
          <div class="flex-row flex-1 justify-center">
            <span class="text">业绩</span>
          </div>
          <div class="flex-row flex-1"></div>
        </div>

        <div class="flex-col">
          <div class="flex-row items-baseline self-stretch mt-31">
            <span class="text_3">当前身份</span>
            <span class="text_2 ml-6">{{ shenfen }}</span>
          </div>
        </div>
        <div class="flex-col group_2 relative">
          <img class="shrink-0 self-end image_5 pos_8" src="https://shops.cg500.com/static/guxinyu_yeji_icon1.png" />
          <div class="flex-col self-stretch group_3">
            <div class="flex-col self-stretch section_4">
              <div class="flex-row items-center group_1">
                <img class="image_6" src="https://shops.cg500.com/static/guxinyu_yeji_icon.png" />
                <span class="font text_4 ml-6-5">业绩展示</span>
              </div>
              <div class="flex-col">
                <div class="flex-row items-center mt-11 flex-1">
                  <div style="white-space: nowrap;flex: 1;">
                    <span class="text_5">{{ yeji }}</span>
                  </div>
                  <div style="white-space: nowrap;flex: 1;">
                    <span class="text_5">{{ x_yeji }}</span>
                  </div>
                  <!-- <span class="text_7 mt-13">小区业绩</span> -->
                </div>
                <div class="flex-row items-center mt-11 flex-1">
                   <div style="word-break: break-all;flex: 1;">
                    <span class="text_7 mt-13">总业绩</span>
                  </div>
                  <div style="word-break: break-all;flex: 1;">
                    <span class="text_7 mt-13">小区业绩</span>
                  </div>
                 
                  <!-- <span class="text_7 mt-13">小区业绩</span> -->
                </div>
                <!-- <div class="flex-col items-center mt-11 flex-1">
                  <div style="width: 80%; word-break: break-all">
                    <span class="text_5">{{ yeji }}</span>
                  </div>
                  <span class="text_7 mt-13">大区业绩</span>
                </div> -->
              </div>
            </div>
            <!-- <span class="self-start font_2 text_8 mt-20-5">贡献值</span> -->
          </div>
        </div>
      </div>
    </div>
    <div class="flex-col relative list">
      <span class="self-start font_2 text_8 mt-11">贡献值</span>
      <div class="flex-col list-item mt-14-5" v-for="(item, index) in list" :key="index">
        <div class="flex-row">
          <div class="section_5"></div>
          <span class="font ml-5-5">{{ item.title }}</span>
        </div>
        <div class="flex-row equal-division mt-16-5 " style="">
          <div class="flex-col equal-division-item flex-1">
            <span class="font_3 text_9">今日/个数</span>
            <div @click="toDetail(1, index)" class="flex-row items-center justify-center group_4 mt-17-5 relative">
              <span class="font_2 text_12">{{ jin_num[index] }}</span>
              <img class="shrink-0 image_7 ml-9" src="https://shops.cg500.com/static/guxinyu_arrow_right.png" />
            </div>
          </div>
          <div class="section_7 horiz-divider"></div>
          <div class="flex-col equal-division-item flex-1">
            <span class="font_3 text_10">昨日/个数</span>
            <div @click="toDetail(2, index)" class="flex-row items-center justify-center group_5 mt-17-5 relative">
              <span class="font_2 text_12">{{ zuo_num[index] }}</span>
              <img class="shrink-0 image_7 ml-9" src="https://shops.cg500.com/static/guxinyu_arrow_right.png" />
            </div>
          </div>
          <div class="section_6 horiz-divider"></div>
          <div class="flex-col equal-division-item flex-1">
            <span class="font_3 text_11">昨日/分红</span>
            <div class="flex-row items-center justify-center group_7 mt-17-5">
              <span class="font_2 text_12 ">{{ fenhong[index] ? fenhong[index] : 0 }}</span>
            </div>
          </div>
          <!-- <div class="flex-row equal-division-item">
            <span class="font_3 text_9 flex-row flex-1 justify-center">今日/个数</span>
             <div class="section_7 horiz-divider"></div>
            <span class="font_3 flex-row text_10 flex-1 justify-center">昨日/个数</span>
            <div class="section_6 horiz-divider"></div>
            <span class="font_3 flex-row text_11 flex-1 justify-center">昨日/分红</span>
          </div> -->
         
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import performanceController from "./performanceController";
export default performanceController;
</script>

<style lang="scss" scoped>
@import "../common/common.css";
.mt-19 {
  margin-top: 1.19rem;
}
.mt-31 {
  margin-top: 1.94rem;
}
.ml-6-5 {
  margin-left: 0.41rem;
}
.mt-11 {
  margin-top: 0.69rem;
}
.mt-13 {
  margin-top: 0.81rem;
}
.mt-20-5 {
  margin-top: 1.28rem;
}
.ml-5-5 {
  margin-left: 0.34rem;
}
.ml-9 {
  margin-left: 0.56rem;
}
.ml-10-5 {
  margin-left: 0.66rem;
}
.mt-17-5 {
  margin-top: 1.09rem;
}
.mt-14-5 {
  margin-top: 0.91rem;
}
.mt-16-5 {
  margin-top: 1.03rem;
}
.page {
  background-color: #f5f5f5;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.section {
  padding: 0.94rem 0 10.97rem;
  background-image: url("https://shops.cg500.com/static/guxinyu_yeji_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.image {
  margin-right: 0.94rem;
  width: 20.47rem;
  height: 0.75rem;
}
.group {
  //   padding: 0.47rem 0.91rem 15.94rem;
  padding: 0.47rem 0.91rem 0.47rem;
}
.image_2 {
  width: 0.63rem;
  height: 1.09rem;
  margin: 0;
}
.pos_3 {
  position: absolute;
  left: 0.91rem;
  top: 0.44rem;
}
.text {
  color: #222222;
  font-size: 1.13rem;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 1.06rem;
}
.pos {
  position: absolute;
  left: 1.31rem;
  right: 0.47rem;
  top: 0;
}
.section_2 {
  opacity: 0.5;
  background-color: #ffffff;
  border-radius: 1rem;
  width: 5.44rem;
  height: 2rem;
  border: solid 0.031rem #eaeaea;
}
.text_3 {
  color: #343434;
  font-size: 0.94rem;
  font-family: PingFang SC;
  line-height: 0.88rem;
}
.text_2 {
  color: #343434;
  font-size: 1.13rem;
  font-family: HarmonyOS Sans SC;
  font-weight: 900;
  line-height: 1.09rem;
}
.image_4 {
  width: 1.16rem;
  height: 0.41rem;
}
.pos_5 {
  position: absolute;
  right: 3.91rem;
  top: 0.78rem;
}
.image_3 {
  width: 1.06rem;
  height: 1.06rem;
}
.pos_4 {
  position: absolute;
  right: 1.31rem;
  top: 0.47rem;
}
.section_3 {
  background-color: #cccccc4d;
  width: 0.063rem;
  height: 1.19rem;
}
.pos_2 {
  position: absolute;
  right: 3.16rem;
  top: 0.38rem;
}
.group_2 {
  //   height: 15.75rem;
  width: 21.65rem;
}
.pos_6 {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.72rem;
}
.image_5 {
  margin-right: 1.84rem;
  width: 5.41rem;
  height: 5.44rem;
  z-index: 98;
}
.group_3 {
  margin-top: 0.91rem;
  z-index: 99;
  //   padding: 0 0.94rem 1.13rem;
}
.section_4 {
  padding: 1.28rem 0.94rem 1.25rem 0.94rem;
  background-image: linear-gradient(90deg, #05ca81 0%, #03b674 100%);
  border-radius: 0.5rem;
}
.group_1 {
  margin-right: 0.78rem;
}
.image_6 {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}
.font {
  font-size: 1rem;
  font-family: PingFang SC;
  line-height: 0.97rem;
  font-weight: 500;
  color: #343434;
}
.text_4 {
  color: #ffffff;
  font-weight: unset;
}
.text_5 {
  color: #ffffff;
  font-size: 1.5rem;
  font-family: PingFang SC;
  font-weight: 700;
  line-height: 1.63rem;
}
.font_2 {
  font-size: 1.13rem;
  font-family: PingFang SC;
  // line-height: 0.88rem;
  font-weight: 700;
  color: #343434;
  width: 90%;
  text-align: center;
  word-break: break-all;
}
.text_6 {
  color: #ffffff;
}
.text_7 {
  color: #ffffff;
  font-size: 0.88rem;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 0.81rem;
}
.text_8 {
  margin-left: 0.22rem;
  line-height: 1.09rem;
}
.list {
  margin-top: -10.97rem;
  padding: 0 0.94rem;
  padding-bottom: 20px;
}
.list-item {
  padding: 1.06rem 1.09rem 1rem;
  background-image: linear-gradient(180deg, #edfff8 0%, #ffffff 52%, #ffffff 100%);
  border-radius: 0.5rem;
}
.list-item:first-child {
  margin-top: 0;
}
.section_5 {
  background-color: #03b674;
  width: 0.19rem;
  height: 1.03rem;
}
.equal-division {
  //   margin-left: 1.25rem;
  
}
.equal-division-item {
  // padding: 0.28rem 0 0.41rem;
  width: 100%;
}
.font_3 {
  font-size: 0.88rem;
  font-family: PingFang SC;
  line-height: 0.88rem;
  color: #666666;
}
.text_9 {
  line-height: 0.84rem;
}
.group_4 {
  padding: 0 0.47rem;
}
.text_12 {
  //   margin-left: 0.81rem;
}
.image_7 {
  position: absolute;
  right: 4px;
  top: 6px;
  // top: 50%;
  // transform: translateY(-50%);
  width: 0.31rem;
  height: 0.59rem;
}
.section_7 {
  margin-top: 0.31rem;
}
.text_10 {
  line-height: 0.84rem;
}
.group_5 {
  padding: 0 0.34rem;
}
.text_13 {
  margin-left: 0.97rem;
}
.section_6 {
  margin-bottom: 0.31rem;
}
.horiz-divider {
  background-color: #f5f5f5;
  width: 0.031rem;
  height: 3.19rem;
}
.text_11 {
  line-height: 0.84rem;
}
.group_6 {
  padding-left: 0.094rem;
}
.group_7 {
  // line-height: 0.88rem;
  // height: 0.88rem;
}
.font_4 {
  font-size: 0.75rem;
  font-family: PingFang SC;
  line-height: 0.59rem;
  font-weight: 700;
  color: #343434;
}
.pos_8 {
  position: absolute;
  right: -20px;
  top: -66px;
}
</style>
